package com.carleasoft.mps.adu.business.org.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 组织属性信息表
 * </p>
 *
 * @author ztm
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_authority_organization_info")
@ApiModel(value="OrganizationInfo对象", description="组织属性信息表")
public class OrganizationInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "组织机构编码")
    @TableField("ORGANIZATION_CODE")
    private String organizationCode;

    /**
     * 单位地址
     */
    @TableField("ORGANIZATION_ADDRESS")
    private String organizationAddress;

    /**
     * 单位网址
     */
    @TableField("ORGANIZATION_SITE")
    private String organizationSite;

    @ApiModelProperty(value = "采用键值对方式存储")
    @TableField("ORGANIZATION_TEL")
    private String organizationTel;

    @ApiModelProperty(value = "采用键值对方式存储属性名及属性值")
    @TableField("ORGANIZATION_OTHER")
    private String organizationOther;


}
